/*  This file is part of LibGChart.
 *
 * AUTHORS
 *       Sascha Dewald        <sascha.dewald@googlemail.com>
 *
 * Copyright (C) 2009 Sascha Dewald
 *
 *  
 *  
 *  LibGChart is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  Foobar is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with LibGChart.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */

using System;

using Cairo;

namespace LibGChart
{
	public class GLegend
	{
		private GCaption title;
		
		private Color colorBorder;
		private Color colorBackground;
		private Color colorLabels;
		
		public GLegend()
		{
			title = new GCaption();
			
			colorBorder = new Color(0.0, 0.0, 0.0);
			colorBackground = new Color(0.2, 0.4, 0.2);
			colorLabels = new Color(0.0, 0.0, 0.0);
		}
		
		/**
		 * public function set_color, set the color of the chart
		 */
		public void set_color_border(double r, double g, double b)
		{
			colorBorder = new Color(r, g, b);
		}
		
		/**
		 * public function set_color, set the color of the chart
		 */
		public void set_color_background(double r, double g, double b)
		{
			colorBackground = new Color(r, g, b);
		}
		
		/**
		 * public function set_color, set the color of the chart
		 */
		public void set_color_labels(double r, double g, double b)
		{
			colorLabels = new Color(r, g, b);
		}
		
		internal void calc_extents()
		{
			
		}
		
		internal void draw(Context cr)
		{
			
		}
	}
}
